/********************************************************************************
** Form generated from reading UI file 'HistoryWidget.ui'
**
** Created: Fri Jan 20 08:48:12 2012
**      by: Qt User Interface Compiler version 4.8.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_HISTORYWIDGET_H
#define UI_HISTORYWIDGET_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QDateEdit>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QPushButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QTreeView>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>

QT_BEGIN_NAMESPACE

class Ui_HistoryWidget
{
public:
    QVBoxLayout *widgetLayout;
    QHBoxLayout *filterLayout;
    QGroupBox *filterGroup;
    QHBoxLayout *filterGroupLayout;
    QLabel *fromLabel;
    QDateEdit *fromDate;
    QLabel *toLabel;
    QDateEdit *toDate;
    QLineEdit *studentBox;
    QLineEdit *itemBox;
    QSpacerItem *filterSpacer;
    QPushButton *resetButton;
    QTreeView *entryView;

    void setupUi(QWidget *HistoryWidget)
    {
        if (HistoryWidget->objectName().isEmpty())
            HistoryWidget->setObjectName(QString::fromUtf8("HistoryWidget"));
        HistoryWidget->resize(640, 480);
        widgetLayout = new QVBoxLayout(HistoryWidget);
        widgetLayout->setObjectName(QString::fromUtf8("widgetLayout"));
        filterLayout = new QHBoxLayout();
        filterLayout->setObjectName(QString::fromUtf8("filterLayout"));
        filterGroup = new QGroupBox(HistoryWidget);
        filterGroup->setObjectName(QString::fromUtf8("filterGroup"));
        filterGroupLayout = new QHBoxLayout(filterGroup);
        filterGroupLayout->setObjectName(QString::fromUtf8("filterGroupLayout"));
        fromLabel = new QLabel(filterGroup);
        fromLabel->setObjectName(QString::fromUtf8("fromLabel"));

        filterGroupLayout->addWidget(fromLabel);

        fromDate = new QDateEdit(filterGroup);
        fromDate->setObjectName(QString::fromUtf8("fromDate"));
        fromDate->setCalendarPopup(true);

        filterGroupLayout->addWidget(fromDate);

        toLabel = new QLabel(filterGroup);
        toLabel->setObjectName(QString::fromUtf8("toLabel"));

        filterGroupLayout->addWidget(toLabel);

        toDate = new QDateEdit(filterGroup);
        toDate->setObjectName(QString::fromUtf8("toDate"));
        toDate->setCalendarPopup(true);

        filterGroupLayout->addWidget(toDate);

        studentBox = new QLineEdit(filterGroup);
        studentBox->setObjectName(QString::fromUtf8("studentBox"));
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(studentBox->sizePolicy().hasHeightForWidth());
        studentBox->setSizePolicy(sizePolicy);

        filterGroupLayout->addWidget(studentBox);

        itemBox = new QLineEdit(filterGroup);
        itemBox->setObjectName(QString::fromUtf8("itemBox"));
        sizePolicy.setHeightForWidth(itemBox->sizePolicy().hasHeightForWidth());
        itemBox->setSizePolicy(sizePolicy);

        filterGroupLayout->addWidget(itemBox);


        filterLayout->addWidget(filterGroup);

        filterSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        filterLayout->addItem(filterSpacer);

        resetButton = new QPushButton(HistoryWidget);
        resetButton->setObjectName(QString::fromUtf8("resetButton"));
        QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Minimum);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(resetButton->sizePolicy().hasHeightForWidth());
        resetButton->setSizePolicy(sizePolicy1);
        resetButton->setAutoDefault(true);

        filterLayout->addWidget(resetButton);


        widgetLayout->addLayout(filterLayout);

        entryView = new QTreeView(HistoryWidget);
        entryView->setObjectName(QString::fromUtf8("entryView"));
        entryView->setSortingEnabled(true);
        entryView->header()->setDefaultSectionSize(175);
        entryView->header()->setMinimumSectionSize(175);

        widgetLayout->addWidget(entryView);


        retranslateUi(HistoryWidget);
        QObject::connect(fromDate, SIGNAL(dateChanged(QDate)), HistoryWidget, SLOT(filterChanged()));
        QObject::connect(toDate, SIGNAL(dateChanged(QDate)), HistoryWidget, SLOT(filterChanged()));
        QObject::connect(studentBox, SIGNAL(textChanged(QString)), HistoryWidget, SLOT(filterChanged()));
        QObject::connect(itemBox, SIGNAL(textChanged(QString)), HistoryWidget, SLOT(filterChanged()));
        QObject::connect(fromDate, SIGNAL(dateChanged(QDate)), HistoryWidget, SLOT(fromDateChanged()));
        QObject::connect(toDate, SIGNAL(dateChanged(QDate)), HistoryWidget, SLOT(toDateChanged()));
        QObject::connect(resetButton, SIGNAL(clicked()), HistoryWidget, SLOT(resetClicked()));

        QMetaObject::connectSlotsByName(HistoryWidget);
    } // setupUi

    void retranslateUi(QWidget *HistoryWidget)
    {
        HistoryWidget->setWindowTitle(QApplication::translate("HistoryWidget", "Form", 0, QApplication::UnicodeUTF8));
        filterGroup->setTitle(QApplication::translate("HistoryWidget", "Filter", 0, QApplication::UnicodeUTF8));
        fromLabel->setText(QApplication::translate("HistoryWidget", "From:", 0, QApplication::UnicodeUTF8));
        fromDate->setDisplayFormat(QApplication::translate("HistoryWidget", "MMM. d, yyyy", 0, QApplication::UnicodeUTF8));
        toLabel->setText(QApplication::translate("HistoryWidget", "To:", 0, QApplication::UnicodeUTF8));
        toDate->setDisplayFormat(QApplication::translate("HistoryWidget", "MMM. d, yyyy", 0, QApplication::UnicodeUTF8));
        studentBox->setPlaceholderText(QApplication::translate("HistoryWidget", "Student", 0, QApplication::UnicodeUTF8));
        itemBox->setPlaceholderText(QApplication::translate("HistoryWidget", "Item", 0, QApplication::UnicodeUTF8));
        resetButton->setText(QApplication::translate("HistoryWidget", "Reset", 0, QApplication::UnicodeUTF8));
    } // retranslateUi

};

namespace Ui {
    class HistoryWidget: public Ui_HistoryWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_HISTORYWIDGET_H
